﻿' LibWowAPI
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel

Namespace roncliProductions.LibWowAPI.Character

    ''' <summary>
    ''' A class containing information about a character's rated battleground statistics.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class RatedBattlegrounds

        ''' <summary>
        ''' The character's personal rated battleground rating.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property PersonalRating As Integer

        Private colBattlegrounds As Collection(Of Battleground)
        ''' <summary>
        ''' Statistics for each individual battleground.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Battlegrounds As Collection(Of Battleground)
            Get
                Return colBattlegrounds
            End Get
        End Property

        Protected Friend Sub New(intPersonalRating As Integer, bBattlegrounds As Collection(Of Battleground))
            PersonalRating = intPersonalRating
            colBattlegrounds = bBattlegrounds
        End Sub

    End Class

End Namespace
